package main.flex.control
{
	import flash.utils.getQualifiedClassName;
	
	import main.flex.business.MainBusinessDelegate;
	import main.flex.business.responder.GetCalendarResponder;
	import main.flex.conf.FacadeConf;
	
	import mx.rpc.remoting.RemoteObject;
	
	import org.servebox.foundry.control.AbstractSubController;

	public class CalendarController extends AbstractSubController
	{
		public static const CALENDAR_MODEL_ID				: String = "calendarModel";
		
		private var _service : RemoteObject;
		
		public function CalendarController()
		{
			super();
		}
		
		public function getCalendar( userId : Number ) : void
		{
			//getMainBusinessDelegate().getCalendar( new GetCalendarResponder(), userId );
		}
		
		// mécanisme interne de la classe : appel privé au BusinessDelegate
		private function getMainBusinessDelegate() : MainBusinessDelegate
		{
			return MainBusinessDelegate( getBusinessDelegate( getQualifiedClassName( MainBusinessDelegate ) ) );
		}
	}
}